﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListWarnInfoSlife.aspx.cs" Inherits="lcs.Web.supply.ListWarnInfoSlife" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script language="javascript" src="/js/CheckBox.js" type="text/javascript"></script>
    <script src="../My97DatePicker/WdatePicker.js"></script>
    <link href="../css/myStyle.css" rel="stylesheet" />
     <link href="../style.css" type="text/css" rel="stylesheet" />
    <script src="../js/jquery.js"></script>
    <script src="../js/jquery-ui.min.js"></script>
    <script src="../Scripts/JsTools.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
            <tr>
                <td style="width: 180px; height: 18px;">
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td style="height: 18px; text-align: center;" colspan="2">
                    <strong>物料库存预警</strong>
                </td>
            </tr>
            <tr>
                <td style="height: 18px;" colspan="2">
                    <asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="gv" 
                        AutoGenerateColumns="False" AllowPaging="True" 
                        onpageindexchanging="GridView1_PageIndexChanging" PageSize="20" OnRowDataBound="GridView1_RowDataBound">
                        <Columns>
                            <asp:BoundField DataField="material" HeaderText="物料描述" />
                            <asp:BoundField DataField="user_name" HeaderText="仓管员" />
                            <asp:BoundField DataField="intime" HeaderText="入库时间" 
                                DataFormatString="{0:d}" HtmlEncode="False" />
                            <asp:BoundField DataField="minNums" HeaderText="最小预警值" Visible="False" />
                            <asp:BoundField DataField="maxNums" HeaderText="最大预警值" Visible="False" />
                            <asp:BoundField DataField="warnTime" HeaderText="预警时间（单位：个月）" />
                            <asp:BoundField DataField="warnStr" HeaderText="预警信息">
                                <ControlStyle ForeColor="Red"></ControlStyle>
                                <ItemStyle Font-Bold="True" ForeColor="Red" />
                            </asp:BoundField>
                        </Columns>
                        <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        <PagerStyle CssClass="mypager" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="width: 180px; height: 18px;">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="height: 18px;" colspan="2">
                    <asp:Button ID="btn_out" runat="server" onclick="btn_out_Click" 
                        Text="导出Excel" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
